#/bin/bash

#for从1+100然后书输出

sum=0
for ((i=1;i<=100;i++))
do
	sum=$[$sum + $i]
done
echo $sum



#使用for in

for j in hellow world !
do
	echo "j=$j"
done


#比较$*和$@

echo "==========$*========="
for j in $*
do
	echo "j $j"
done

echo "==========$@=========="
for k in $@
do
	echo "j $k"
done



